package com.yu.footballpromotionliveadmin.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class LiveBroadcasAdministrator implements Serializable {
    private String lbano;

    private String lbaname;

    private String lbapwd;

    private String salt;

    private Integer isdelete;

    private Date createdate;

    private static final long serialVersionUID = 1L;

    public String getLbano() {
        return lbano;
    }

    public void setLbano(String lbano) {
        this.lbano = lbano;
    }

    public String getLbaname() {
        return lbaname;
    }

    public void setLbaname(String lbaname) {
        this.lbaname = lbaname;
    }

    public String getLbapwd() {
        return lbapwd;
    }

    public void setLbapwd(String lbapwd) {
        this.lbapwd = lbapwd;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LiveBroadcasAdministrator other = (LiveBroadcasAdministrator) that;
        return (this.getLbano() == null ? other.getLbano() == null : this.getLbano().equals(other.getLbano()))
            && (this.getLbaname() == null ? other.getLbaname() == null : this.getLbaname().equals(other.getLbaname()))
            && (this.getLbapwd() == null ? other.getLbapwd() == null : this.getLbapwd().equals(other.getLbapwd()))
            && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
            && (this.getIsdelete() == null ? other.getIsdelete() == null : this.getIsdelete().equals(other.getIsdelete()))
            && (this.getCreatedate() == null ? other.getCreatedate() == null : this.getCreatedate().equals(other.getCreatedate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getLbano() == null) ? 0 : getLbano().hashCode());
        result = prime * result + ((getLbaname() == null) ? 0 : getLbaname().hashCode());
        result = prime * result + ((getLbapwd() == null) ? 0 : getLbapwd().hashCode());
        result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
        result = prime * result + ((getIsdelete() == null) ? 0 : getIsdelete().hashCode());
        result = prime * result + ((getCreatedate() == null) ? 0 : getCreatedate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", lbano=").append(lbano);
        sb.append(", lbaname=").append(lbaname);
        sb.append(", lbapwd=").append(lbapwd);
        sb.append(", salt=").append(salt);
        sb.append(", isdelete=").append(isdelete);
        sb.append(", createdate=").append(createdate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}